<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			window.onload = function() {
				var dv = document.getElementsByTagName('div')[0];
				console.log(dv.firstChild);
				console.log(dv.firstChild.wholeText);
			}
		</script>
	</head>
	<body>
		<div>today is very good.</div>
	</body>
</html>
